<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>空明物联网服务平台</title>
    <link rel="stylesheet" href="/static/css/bootstrap.min.css" />
    <link rel="stylesheet" href="/static/css/main.css?version=1.0.0" />
    <style>
        iframe {
            width: 100%;
            height: 100%;
            /* z-index: -1; */
        }
    </style>
</head>

<body>
    <div class="wrapper" id="page_index">
        <h1><span class="title">空明物联网服务平台</span></h1>
        <div class="avatar"><img id="avatar_img" class="hidden" src="#"></div>
        <ul class="menu" id="member-menu">
            <li id="menu_userinfo"><a href="javascript:loadSrc('#user_center.html');">用户中心</a></li>
            <li id="menu_password"><a href="javascript:loadSrc('#changepassword.html');">修改密码</a></li>
            <li id="menu_logout"><a href="javascript:logout();">退出登录</a></li>
        </ul>
        <div class="menubtn">
        </div>
        <div class="sidebar">
            <ul id="menu" class="menu">
                <li class="selected"><a href="javascript:loadSrc('#welcome.html');">主页</a></li>
                <li><a href="javascript:loadSrc('#device.html');">设备列表</a></li>
                <li><a href="javascript:loadSrc('#alarm.html');">告警日志</a></li>
            </ul>
        </div>
    </div>
    <div class="main-content" style="overflow:hidden">
        <iframe id="main-frame" name="main-frame" frameborder="0" src="welcome.html" scrolling="auto"></iframe>
    </div>
    <script src="/static/js/jquery-2.1.4.min.js"></script>
    <script src="/static/js/base.js?version=1.0.0"></script>
    <script src="/static/js/menu.js?version=1.0.0"></script>
    <script>
        // 检查登录状态
        isLoginStats();

        // 隐藏元素
        $('#member-menu').hide();
    </script>
</body>

</html>